package com.example.carinterface.service.dl.admin;

import com.example.carinterface.utils.ResultJson;

import java.util.List;
import java.util.Map;

public interface OrderService {
    ResultJson<List<Map<String, Object>>> findAllOrder(Map<String,Object> map);

    ResultJson<String> updateOrderOfDriver(Map<String, Object> map);

    ResultJson<String> addOrder(Map<String, Object> map);

    ResultJson<List<Map<String, Object>>> findAllUser();

    ResultJson<List<Map<String, Object>>> findAllOwnerCardByUserId(Integer id);

    ResultJson<List<Map<String, Object>>> findAllDriver();

    ResultJson<List<Map<String, Object>>> findCouponByUserId(Integer id);
}
